package com.wlyuan.open.scanner.application.interceptor;

import org.springframework.context.annotation.Configuration;

/**
 * @author lijing
 * @description
 */
@Configuration
public class DataScopeConfig {
    /*@Autowired
    private DataScopePermissionHandler dataScopePermissionHandler;

    @Bean
    public MybatisPlusInterceptor mybatisPlusInterceptor() {
        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();

        DataPermissionInterceptor dataPermissionInterceptor = new DataPermissionInterceptor();
        dataPermissionInterceptor.setDataPermissionHandler(dataScopePermissionHandler);
        interceptor.addInnerInterceptor(dataPermissionInterceptor);
        return interceptor;
    }*/
}
